IdeaBlade DevForce 2010 Help Reference
AesEncrypt(String,Byte[],Boolean) Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > CryptoFns Class > AesEncrypt Method : AesEncrypt(String,Byte[],Boolean) Method



valueToEncrypt
key
fipsCompliant
Encrypt a string given an AES hash key.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function AesEncrypt( _
   ByVal valueToEncrypt As String, _
   ByVal key() As Byte, _
   ByVal fipsCompliant As Boolean _
) As String
Visual Basic (Usage)Copy Code
Dim valueToEncrypt As String
Dim key() As Byte
Dim fipsCompliant As Boolean
Dim value As String
 
value = CryptoFns.AesEncrypt(valueToEncrypt, key, fipsCompliant)
C# 
public static string AesEncrypt( 
   string valueToEncrypt,
   byte[] key,
   bool fipsCompliant
)
C++/CLI 
public:
static String^ AesEncrypt( 
   String^ valueToEncrypt,
   array<byte>^ key,
   bool fipsCompliant
) 

Parameters

valueToEncrypt
key
fipsCompliant

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.